package com.spring.cloud.examples.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "spring-cloud-seata-service-produce1",path = "/seata-produce1/service1")
public interface Product1Api {

    @RequestMapping(value = "/insert",method= RequestMethod.POST)
    public String insertService1();

}
